<!--
/* Powered by JYWAP & jy.qhxin.com */
var usercard;
//显示
function showCard(ev, id) {
	usercard= $("usercard"+id);
	usercard.style.display = "block";
	addEvent(document.body, 'click', hideCard);
	addEvent(usercard, 'click', cancelEventBubble);
	cancelEventBubble(ev);
}
//隐藏
function hideCard() {
	usercard.style.display = "none";
	removeEvent(document.body, 'click', hideCard);
	removeEvent(usercard, 'click', cancelEventBubble);
}

//取消事件冒泡
function cancelEventBubble(ev) {
	ev = ev || window.event;
	if(ev.stopPropagation) {
		ev.stopPropagation();
	} else if(!ev.cancelBubble) {
		ev.cancelBubble = true;
	}
}

-->